package com.amazon.bo;

import com.amazon.bo.base.BaseBo;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;


/**
 * Created by anhui on 2018/3/11.
 */
@Entity
@DynamicUpdate
@DynamicInsert
public class Addredss  extends BaseBo implements Serializable {

    @Column(columnDefinition = ("varchar(255)default null comment '姓名'"))
    private String name;

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '地址1'"))
    private String addressLine1;

    public String getAddressLine1() {
        return this.addressLine1;
    }

    public void setAddressLine1(String addressLine1) {
        this.addressLine1 = addressLine1;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '地址2'"))
    private String addressLine2;

    public String getAddressLine2() {
        return this.addressLine2;
    }

    public void setAddressLine2(String addressLine2) {
        this.addressLine2 = addressLine2;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '地址3'"))
    private String addressLine3;

    public String getAddressLine3() {
        return this.addressLine3;
    }

    public void setAddressLine3(String addressLine3) {
        this.addressLine3 = addressLine3;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '城市'"))
    private String city;

    public String getCity() {
        return this.city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '区'"))
    private String county;

    public String getCounty() {
        return this.county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '街道'"))
    private String district;

    public String getDistrict() {
        return this.district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '省'"))
    private String stateOrRegion;

    public String getStateOrRegion() {
        return this.stateOrRegion;
    }

    public void setStateOrRegion(String stateOrRegion) {
        this.stateOrRegion = stateOrRegion;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '邮编'"))
    private String postalCode;

    public String getPostalCode() {
        return this.postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '国家码'"))
    private String countryCode;

    public String getCountryCode() {
        return this.countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    @Column(columnDefinition = ("varchar(255)default null comment '电话'"))
    private String phone;

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

}
